<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Raw_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-raw_id" data-rule="required" data-source="clothmaking_raw/index" class="form-control selectpage" name="row[raw_id]" type="text" value="{$row.raw_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quantity" data-rule="required" class="form-control" step="0.01" name="row[quantity]" type="number" value="{$row.quantity|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Boiler_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-boiler_id" data-rule="required" data-source="clothmaking_boiler/boiler/index" class="form-control selectpage" name="row[boiler_id]" type="text" value="{$row.boiler_id|htmlentities}" data-field="alias">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Planid" data-rule="required" data-source="clothmaking_plan/index" class="form-control selectpage" name="row[planid]" type="text" value="{$row.planid|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>